<?php
/* $Id: footer.php 1679 2008-08-14 04:15:17Z carenas $ */
$ganglia_tpl = new ganglia_TemplatePower( ganglia_template("footer.tpl") );
$ganglia_tpl->prepare();
$ganglia_tpl->assign("webfrontend-version",$ganglia_version["webfrontend"]);

if ($ganglia_version["rrdtool"]) {
   $ganglia_tpl->assign("rrdtool-version",$ganglia_version["rrdtool"]);
}
$ganglia_tpl->assign("templatepower-version", $ganglia_tpl->version);

if ($ganglia_version["gmetad"]) {
   $ganglia_tpl->assign("webbackend-component", "gmetad");
   $ganglia_tpl->assign("webbackend-version",$ganglia_version["gmetad"]);
}
elseif ($ganglia_version["gmond"]) {
   $ganglia_tpl->assign("webbackend-component", "gmond");
   $ganglia_tpl->assign("webbackend-version", $ganglia_version["gmond"]);
}

$ganglia_tpl->assign("parsetime", sprintf("%.4f", $ganglia_parsetime) . "s");

$ganglia_stdout .= $ganglia_tpl->printToScreen();

